package xyz.zdsoft.homework_manage_module.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data

@ApiModel(description= "返回查询作业")
public class RestPerTask implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm" ,timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date createTime;
    @ApiModelProperty(value = "作业主题")
    private String title;
    @ApiModelProperty(value = "实训老师")
    private String  teacherName;
    @ApiModelProperty(value = "计划完成时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm" ,timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date completeDate;
    @ApiModelProperty(value = "作业类容")
    private String appendsLink;
    @ApiModelProperty(value = "附件")
    private List<RestEnclosure> restEnclosures;

}
